﻿using UnityEngine;
using System.Collections;
using Dict.DataModel;

namespace Room
{
    public class RCLODMine : RCLODBase
    {
        public string modelResName;
        public RCLODMine(RoomCharactor owner)
            : base(owner)
        {
            type = LODType.Mine;
        }

        public void Init(TableFieldResource fish)
        {
            this.modelResName = fish.model;

        }

        public override void DoResume()
        {
            LoadModel(modelResName);
        }

        protected override void OnLoadModelComplete()
        {
            model.SetActive(true);
        }

    }
}
